home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / pathinc.zip / PATHINC.DOC < prev    next >
Text File  |  1992-01-26  |  3KB  |  53 lines

  1. PATHINC                                          Release 1.00 (01/92)
  2.  
  3. Function  - Adds or drops (PATH INCludes) directory names
  4.             from the path environment variable.
  5.  
  6. Purpose   - For Use in Batch files or directly from the command line.
  7.             Will not increase the path if already defined previously.
  8.             PATHINC can place new name near the front of path for speed.
  9.  
  10. Usefulness- Long path names slow down procedures and repeated "set path=..."
  11.             statements in batch files could make the path name longer and
  12.             longer. This quick utility may encourage users to adjust
  13.             the path names more often or to juggle to what is appropriate
  14.             for the currently running application.  Unlike environment
  15.             editing routines PATHINC works just as well from batch files
  16.             as from the DOS command line. You may want to rename
  17.             PATHINC.com to something shorter if you use it often (i.e. PI),
  18.             then put it in a directory which is included in your path.
  19.  
  20.             I have searched for years and tested dozens of path editing
  21.             and alterating utilities, but none ever did exactly what I
  22.             think such a utility should do. Many do not have the right
  23.             feedback either. So I ended up writing this one myself.
  24.  
  25.             If you run 4DOS then delete the pathinc.com so it will use
  26.             the more complex (and less syntax checking) pathinc.exe.
  27.             Pathinc.exe will work for both DOS 5.0 and 4DOS, but
  28.             pathinc.com is preferable for monogamous DOS 5.0 setups.
  29.  
  30. Syntax    - PATHINC [-] [d:][\][path] [position to place in current path]
  31.  
  32. Examples  - pathinc c:\tools
  33.             pathinc c:\tools 2 >nul (typical with arguments in batch files)
  34.             pathinc    ..    *      (places parent directory at end of path)
  35.             pathinc /h              (brief help)
  36.             pathinc                 (no arguments prompt for a path name)
  37.  
  38.             pathinc - c:\tools      (eliminates tools   directory)
  39.             pathinc -    .          (eliminates current directory)
  40.             pathinc - 2             (eliminates 2nd name)
  41.             pathinc -               (prompts again for path name to exclude)
  42.  
  43. These programs were updated for DOS 5.0, but may run on lower versions too.
  44. 4DOS must be version 4 or higher if used in conjunction with DOS 5.0
  45.  
  46. Contributions and suggestions for enhancements gratefully
  47. accepted.  Fee for commercial use $6 (see address below).
  48. Not to be sold for profit.
  49.  
  50. (c) 1992 Tony Tschanz
  51.          5549 SW Campbell Pl.
  52.          Seattle, Wa 98116
  53.